First add your IP to the route table ip route add 192.168.10.100 dev ens160 proto static metric ... What's wrong with the ifconfig command? ... <看更多>
Search
Search
First add your IP to the route table ip route add 192.168.10.100 dev ens160 proto static metric ... What's wrong with the ifconfig command? ... <看更多>
... <看更多>
USE THIS IPROUTE COMMAND INSTEAD OF THIS NET-TOOL COMMAND ip addr ifconfig -a ss netstat ip route route ip maddr netstat -g ip link set eth0 up ifconfig ... ... <看更多>
use of ifconfig which is deprecated and -- for example -- don't list multple IPs;; use of awk for a simple task which sed can handle better;; ip route get 1 is ... ... <看更多>
Seems to have a problem setting the IP. I'm trying to set it to 192.168.1.223 $ ping 8.8.8.8 connect: Network is unreachable $ ifconfig eth0: flags=4163<UP ... ... <看更多>